<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<title>添加商家</title>
	<!-- Bootstrap -->
	<link href="../assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="fonts/iconfont.css" rel="stylesheet">
	<link href="../assets/css/style.css" rel="stylesheet" />
	<link href="../assets/css/form.css" rel="stylesheet" />
	<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
		      <script src="../assets/js/html5shiv.min.js"></script>
		      <script src="../assets/js/respond.min.js"></script>
		      <![endif]-->
		  </head>

		  <body>
		  	<!--内容区域-->
		  	<div class="content">
		  		<div class="content-header col-md-12">
		  			<div class="con-header">
		  				<div class="col-md-12 col-sm-12 col-xs-12">
		  					<span class="content-title-pre"></span><span class="content-title-word">添加商家</span>
		  				</div>
		  			</div>
		  		</div>
		  		<div class="content-form row">
		  			<div class="col-md-12">
		  				<form class="form-horizontal" role="form">
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable"><span class="bitian">*</span>商家名称</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable"><span class="bitian">*</span>登录账户</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable"><span class="bitian">*</span>登录默认密码</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="password" class="form-control slowinput" placeholder="默认随机唯一性质密码（10位）" disabled>
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">微信号</label>
		  						<div class="col-md-3 col-sm-6">
		  							<button type="button" class="btn btn-warning wechatbtn">关联账号</button>
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">商家账号</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">商家地址</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">Email</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable"><span class="bitian">*</span>授权域名</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">AppID</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">AppSecret</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">Token</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div>
		  					<div class="form-group mt5">
		  						<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">EncodingAESkey</label>
		  						<div class="col-md-3 col-sm-6">
		  							<input type="text" class="form-control slowinput" placeholder="">
		  						</div>
		  					</div><div class="form-group mt5">
		  					<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">WeChatID</label>
		  					<div class="col-md-3 col-sm-6">
		  						<input type="text" class="form-control slowinput" placeholder="">
		  					</div>
		  				</div>
		  				<div class="form-group mt5">
		  					<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable"><span class="bitian">*</span>LOGO</label>
		  					<div class="col-md-3 col-sm-6">
		  						<span class="yingxiao-wutu"><img src="../assets/images/wutu.png"></span>
                  <button type="button" class="btn btn-warning wechatbtn">上传</button>
		  					</div>
		  				</div>
		  				<div class="form-group mt5">
		  					<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">关注二维码</label>
		  					<div class="col-md-3 col-sm-6">
		  						<span class="yingxiao-wutu"><img src="../assets/images/wutu.png"></span>
                  <button type="button" class="btn btn-warning wechatbtn">上传</button>
		  					</div>
		  				</div>
		  				<div class="form-group mt5">
		  					<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable"><span class="bitian">*</span>是否启用</label>
		  					<div class="col-md-3 col-sm-6">
		  						<span class="beijing">
		  							<span class="yuanquan"></span>
		  						</span>
		  						<span class="open">已开启</span>
		  						<div class="clearfix"></div>
		  						
		  					</div>
		  				</div>
		  				<div class="form-group mt5">
		  					<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">描述</label>
		  					<div class="col-md-3 col-sm-6">
		  						<textarea class="form-control" rows="4"></textarea>
		  					</div>
		  				</div>
		  				<div class="form-group mt5">
		  					<label for="firstname" class="col-md-5 col-sm-4 control-label slowlable">下拉框</label>
		  					<div class="col-md-3 col-sm-6">
		  						<select class="form-control">
		  							<option>你好</option>
		  							<option>你好</option>
		  							<option>刚好韩国国会</option>
		  							<option>你好</option>
		  							<option>你好</option>
		  						</select>
		  					</div>
		  				</div>
		  				<div class="fooetbtn">
		  					<div class="col-md-12 text-center">
		  						<button type="button" class="btn btn-warning submitbtn">
		  							保存
		  						</button>
		  						<button type="button" class="btn btn-warning canclebtn">
		  							关闭
		  						</button>
		  					</div>
		  				</div>
		  			</form>
		  		</div>
		  	</div>
		  </div>
		  <script src="../assets/js/jquery.min.js"></script>
		  <script src="../assets/js/bootstrap.min.js"></script>
		  <script type="text/javascript">
		  	$(".yuanquan").on('click',function() {
		  		if ($(this).hasClass('colose-input')) {
		  			$(this).removeClass('colose-input');
		  			$(this).parent().siblings('.open').html('已开启')
		  			$(this).parent().removeClass('huibeijing');

		  		}else{
		  			$(this).parent().siblings('.open').html('已关闭')
		  			$(this).addClass('colose-input');
		  			$(this).parent().addClass('huibeijing');

		  		}
		  	})
		  </script>
		</body>

		</html>